package com.zhijian.medical.dao.local;


import com.zhijian.medical.entity.po.ArticleHistory;
import com.zhijian.medical.entity.vo.request.ArticleHistorySearchVo;
import com.zhijian.medical.entity.vo.response.ArticleHistoryVo;

import java.util.List;

public interface ArticleHistoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ArticleHistory record);

    int insertSelective(ArticleHistory record);

    ArticleHistory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ArticleHistory record);

    int updateByPrimaryKey(ArticleHistory record);

    int count(ArticleHistorySearchVo articleHistorySearchVo);

    List<ArticleHistoryVo> selectList(ArticleHistorySearchVo articleHistorySearchVo);

    ArticleHistoryVo selectVoById(Long id);
}